Solving the 24-queens Problem using MPI on a PC Cluster
نویسندگان
چکیده
The N-queens is a problem to place N queens on an N N chess board such that no queen can attack another. We designed a sequential program which attains an improvement in speed of from 7% to 14% compared to current programs. The proposed program is parallelized using MPI, and the number of solutions for the 24-queens problem is calculated for the first time. The main findings of the present study are as follows: (1) The optimization of memory reference and control structure increases speed from 7% to 14% in the sequential program. (2) A master-worker scheme is effective for parallelization. (3) The Hyper-threading technology of the Pentium4 processor provides an increases in speed of approximately 30%. (4) In the solution of a real problem, it is important to consider the efficiency of the entire system.
منابع مشابه
Efficiency of Parallel Genetic Algorithm for Solving N-Queens Problem on Multicomputer Platform
The paper investigates the efficiency of parallel genetic algorithm for solving N-queens problem on a multicomputer platform. The proposed parallel computational model of the genetic algorithm is based on a parallel algorithmic paradigm of synchronous iterations. Dynamic migration of randomly selected chromosomes in a bidirectional circular model is utilized. The algorithm is implemented using ...
متن کاملA Parallel Numerical Algorithm For Boundary - Value FIDEs on a PC Cluster
An algorithm for parallel processing the discrete nonlinear system for solving Fredholm integro-differential equations with twopoint boundary conditions on a PC cluster is considered. The cost of calculating the history terms is expensive and improvements are motivated by considering different architectures. The algorithm has been modified to minimize the communication overhead inherent in a di...
متن کاملSolving the Inverse Toeplitz Eigenproblem Using ScaLAPACK and MPI
In this paper we present a parallel algorithm for solving the inverse eigenvalue problem for real symmetric Toeplitz matrices. The algorithm is implemented using the parallel library ScaLAPACK, based on the communication model MPI. Experimental results are reported on a SGI Power Challenge and on a cluster of PC's connected by a Myrinet network. The results show that the algorithm is portable a...
متن کاملSolving Facility Location Problem on Cluster Computing
Computation of facility location problem for every location in the country is not easy simultaneously. Solving the problem is described by using cluster computing. A technique is to design parallel algorithm by using local search with single swap method in order to solve that problem on clusters. Parallel implementation is done by the use of portable parallel programming, Message Passing Interf...
متن کاملParallel computing using MPI and OpenMP on self-configured platform, UMZHPC.
Parallel computing is a topic of interest for a broad scientific community since it facilitates many time-consuming algorithms in different application domains.In this paper, we introduce a novel platform for parallel computing by using MPI and OpenMP programming languages based on set of networked PCs. UMZHPC is a free Linux-based parallel computing infrastructure that has been developed to cr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004